import { Button } from '@arco-design/web-react';
import { useNavigate } from 'react-router-dom';


function NotFound() {
    const router = useNavigate()
    // const { id } = useParams<{ id: string }>();

    return (<div className='w-screen h-screen flex flex-col justify-center items-center'>
        <div>404 IS NOT FOUND</div>
        <Button className="mt-2" onClick={() => router('/index')}>返回主页</Button>
    </div>);
}

export default NotFound